<?php

/**
 * @Author: Wang chunsheng  email:2192138785@qq.com
 * @Date:   2023-04-22 13:26:52
 * @Last Modified by:   Wang chunsheng  email:2192138785@qq.com
 * @Last Modified time: 2023-05-06 15:52:54
 */

namespace Common\Models;

use Common\BaseModel;

/**
 * This is the model class for table "{{%diandi_smart_socket_device}}".
 *
 * @property int $id ID
 * @property int $bloc_id 企业ID
 * @property int $store_id 商户ID
 * @property int $relation_id 关联ID
 * @property string $module 关联模块
 * @property string $name 设备名称
 * @property resource $identify 设备标识
 * @property string $state 设备通电状态
 * @property int $status 状态
 * @property string $created_at 创建时间
 * @property string $updated_at 更新时间
 */
class ApiAccessToken extends BaseModel
{

    protected ?string $table = 'member_access_token';

    protected array $fillable = [
        'refresh_token',
        'access_token',
        'member_id',
        'openid',
        'group_id',
        'bloc_id',
        'store_id',
        'status',
        'create_time',
        'updated_time',
        'login_num',
        'allowance',
        'allowance_updated_at',
    ];
}
